package com.coocaa.ops.admin.v1.cornericon.service;


import com.coocaa.ops.common.core.biz.auth.entity.SysUserEntity;
import com.coocaa.ops.common.core.biz.cornericon.entity.GlobalCornerIconEntity;

import java.util.List;
import java.util.Map;

/**
 * @author bijiahao
 * @date : 2018/8/17.
 * @description
 */
public interface ICornerIconUpdateService {
    /**
     * 批量保存
     *
     * @param iconList
     * @param user
     */
    void saveBatch(List<GlobalCornerIconEntity> iconList, SysUserEntity user);

    /**
     * @param entity
     * @param user
     */
    void save(GlobalCornerIconEntity entity, SysUserEntity user);

    /**
     * 批量审核
     *
     * @param cornerIconIds
     * @param sysUserEntity
     * @param auditFlag
     * @param auditDesc
     */
    void batchAudit(String cornerIconIds, SysUserEntity sysUserEntity, Integer auditFlag, String auditDesc);


    /**
     * 批量删除
     *
     * @param ids
     * @param user
     * @return
     */
    Map deleteBatch(Integer[] ids, SysUserEntity user);

}
